package com.web.kongjian.ao;

import javax.servlet.http.HttpServletRequest;

import com.base.kongjian.entity.Weibo;

public interface WeiboAo
{
	/**
	 * ����΢��
	 * @param weibo
	 */
	void send(Weibo weibo, HttpServletRequest request);
	/**
	 * ɾ��
	 * @param id
	 */
	void delete(long id);
	/**
	 * ����
	 * @param id
	 * @param request
	 */
	void praise(long id, long publisherId, HttpServletRequest request);
	/**
	 * �ղ�
	 * @param id
	 * @param request
	 */
	void collect(long id, long publisherId, HttpServletRequest request);
	/**
	 * ת��
	 * @param id
	 * @param request
	 */
	String transmit(long id, long publisherId, HttpServletRequest request);
	/**
	 * ����
	 * @param id
	 * @param request
	 */
	void comment(long memberId, long workId, String content, HttpServletRequest request);
	
	/**
	 * ���
	 * @param id
	 * @param request
	 */
	void browse(long id, HttpServletRequest request);
	
	void sendReply(HttpServletRequest request, long commentId, long comment_MId, String content);
	
}
